package com.itheima.stock.mapper;

import com.itheima.stock.common.domian.StockOuterMarketDomin;
import com.itheima.stock.pojo.StockOuterMarketIndexInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author hyn
* @description 针对表【stock_outer_market_index_info(外盘详情信息表)】的数据库操作Mapper
* @createDate 2022-05-30 01:02:49
* @Entity com.itheima.stock.pojo.StockOuterMarketIndexInfo
*/
@Repository
public interface StockOuterMarketIndexInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockOuterMarketIndexInfo record);

    int insertSelective(StockOuterMarketIndexInfo record);

    StockOuterMarketIndexInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockOuterMarketIndexInfo record);

    int updateByPrimaryKey(StockOuterMarketIndexInfo record);

    List<StockOuterMarketDomin> queryAllStockOutMarket();

    int insertInnerStockOutData(@Param("list") List infos);
}
